import request from '@/utils/request'

// 电站收入排行
export function rankStation(query) {
  return request({
    url: '/trade/statistics/rank/station',
    method: 'get',
    params: query
  })
}

// 订单数量折线图
export function orderCount(query) {
  return request({
    url: '/trade/statistics/order/count',
    method: 'get',
    params: query
  })
}

// 数据总览
export function statistics(query) {
  return request({
    url: '/trade/statistics/home',
    method: 'get',
    params: query
  })
}
